package DB4O_Class;
import java.util.*;

public class KhuTDC{
	private String Makhu;
	private String Tenkhu;
	private DiaChi Dchi;
	private Date Ngaydvsd;
	private Set<NhomNen> Dsnhomnen;
	
	public KhuTDC(){}
	
	public KhuTDC(String makhu, String tenkhu){
		this.Makhu = makhu;
		this.Tenkhu = tenkhu;
		this.Dsnhomnen = new HashSet<NhomNen>();
	}
	
	public KhuTDC(String makhu, String tenkhu, DiaChi dchi){
		this.Makhu = makhu;
		this.Tenkhu = tenkhu;
		this.Dchi = dchi;
		this.Dsnhomnen = new HashSet<NhomNen>();
	}
	
	public String getMakhu(){ return this.Makhu;}
	public String getTenkhu(){ return this.Tenkhu;}
	public DiaChi getDchi(){ return this.Dchi;}
	public Date getNgaydvsd(){ return this.Ngaydvsd;}
	public Set<NhomNen> getDsnhomnen(){ return this.Dsnhomnen;}
	
	public void setMakhu(String makhu){ this.Makhu = makhu;}
	public void setTenkhu(String tenkhu){ this.Tenkhu = tenkhu;}
	public void setDchi(DiaChi dchi){ this.Dchi = dchi;}
	public void setNgaydvsd(Date ngaydvsd){ this.Ngaydvsd = ngaydvsd;}
	public void setDsnhomnen(Set<NhomNen> dsnhomnen){ this.Dsnhomnen = dsnhomnen;}
}